package com.peiqi.aiproject.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.peiqi.aiproject.domain.enums.Gender;
import lombok.Data;

import java.io.Serializable;

/**
 * @TableName userinfo
 */
@TableName(value = "userinfo")
@Data
public class UserInfo implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     *
     */
    private String nickName;

    /**
     *
     */
    private Integer age;

    /**
     *
     */
    private String location;

    /**
     *
     */
    private Gender gender;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}

